<html>
	<head>

		<link rel="stylesheet" type="text/css" href="/alfresco/css/vgr/delafil.css" />
		
		<title>Västra Götalandsregionen - Dela en fil</title>
	</head>
	<body>
		<center>
			<div id="filediv">
			
				<div class="first_header">
					Dela en fil
				</div>
				<div id="filediv_textarea">
					<p id="uploaded">Du har laddat upp ${upload.name}.</p>
					<div class="second_header">Länkar:</div>
					<div class="box">
					<ul>
						<li>Länk till fil: <a href="http://140.166.83.78:8080/alfresco/service/d/${dbid}">http://140.166.83.78:8080/service/d/${dbid}</a></li>
						<li>Länk till filens egenskapsida i Alfresco (kräver inloggning): <a href="http://140.166.83.78:8080/share/page/site/test/document-details?nodeRef=${upload.nodeRef}">http://140.166.83.78:8080/share/page/site/test/document-details?nodeRef=${upload.nodeRef}</a></li>
					</ul>
				</div>
			
				<#if (tags?size > 0)>
				<div class="second_header">Etiketter:</div>
				<div class="box">
					<ul>
						<#list tags as tag>
						<li><b>${tag}</b> - <small>Lista på alla dokument med denna etikett: <a href="/alfresco/service/vgr/resultlist?tag=${tag}&format=html">HTML-format</a> | <a href="/alfresco/service/vgr/resultlist?tag=${tag}&format=html">RSS-format</a> | <a href="/alfresco/service/vgr/resultlist?tag=${tag}&format=html">XML-format</a></small></li>
						</#list>
					</ul>
				</div>
				</#if>
		
				<#if (thumbnails?size > 1)>
				<div class="second_header">Thumbnails:</div>
					<div class="box">
						Länkar till thumbnails: 
						<ul>
							<#list thumbnails as thumbnail>
							<li><a href="http://140.166.83.78:8080/alfresco/${thumbnail.url}">${thumbnail.name}</a></li>
							</#list>
						</ul>
					</div>
				</div>
				</#if>
			</div>
		</center>
	</body>
</html>